package com.example.designpartten.publish;

/**
 * @author hql
 * @date 2020/4/8 17:33
 */
public class Client {
    public static void main(String[] args) {
        ConSubject subject = new ConSubject();
        Observer observer = new ConObserver();
        subject.addObserver(observer);
        subject.doSomething();
    }
}
